/**
 * 
 */
package de.cbf.cam.dsa.facet.character.attributes;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

import de.cbf.util.condition.comparable.PossibleConditionComparables;
import de.cbf.util.condition.comparable.entities.ConditionComparable;
import de.cbf.util.condition.comparable.interfaces.IConditionComparableProvider;

/**
 * @author salter
 *
 */
public class ConditionComparableProvider_Attributes implements
		IConditionComparableProvider{

	public static final String TEXT_CHARACTER	= "Character";
	public static final String TEXT_ATTRIBUTES	= "Attributes";
	public static final String TEXT_MU			= "MU";
	public static final String TEXT_KL			= "KL";
	public static final String TEXT_IN			= "IN";
	public static final String TEXT_CH			= "CH";
	public static final String TEXT_FF			= "FF";
	public static final String TEXT_GE			= "GE";
	public static final String TEXT_KK			= "KK";
	public static final String TEXT_KO			= "KO";
	/**
	 * 
	 */
	public ConditionComparableProvider_Attributes() {
		
	}

	@Override
	public Collection<ConditionComparable> provideConditionComparables() {
		List<ConditionComparable> resultList = new ArrayList<ConditionComparable>();
		
		ConditionComparable character = new ConditionComparable();
		character.setParent(null);
		character.setBackUpParentName(PossibleConditionComparables.ROOT_NAME);
		character.setName(TEXT_CHARACTER);
		resultList.add(character);
		
		ConditionComparable attributes = new ConditionComparable();
		attributes.setParent(character);
		attributes.setName(TEXT_ATTRIBUTES);
		resultList.add(attributes);
		
		ConditionComparable mu = new ConditionComparable();
		mu.setParent(attributes);
		mu.setName(TEXT_KL);		
		resultList.add(mu);	
		
		ConditionComparable kl = new ConditionComparable();
		kl.setParent(attributes);
		kl.setName(TEXT_KL);		
		resultList.add(kl);	
		
		ConditionComparable in = new ConditionComparable();
		in.setParent(attributes);
		in.setName(TEXT_IN);		
		resultList.add(in);	
		
		ConditionComparable ch = new ConditionComparable();
		ch.setParent(attributes);
		ch.setName(TEXT_CH);		
		resultList.add(ch);	

		ConditionComparable ff = new ConditionComparable();
		ff.setParent(attributes);
		ff.setName(TEXT_FF);		
		resultList.add(ff);	
		
		ConditionComparable ge = new ConditionComparable();
		ge.setParent(attributes);
		ge.setName(TEXT_GE);		
		resultList.add(ge);	
		
		ConditionComparable kk = new ConditionComparable();
		kk.setParent(attributes);
		kk.setName(TEXT_KK);		
		resultList.add(kk);	
		
		ConditionComparable ko = new ConditionComparable();
		ko.setParent(attributes);
		ko.setName(TEXT_KO);		
		resultList.add(ko);	
		
		return resultList;
	}

}
